package news.paper.tintuc.tinnong.docbao.doctin.util;

import java.util.ArrayList;

import news.paper.tintuc.tinnong.docbao.doctin.adapter.MenuAdapter;
import news.paper.tintuc.tinnong.docbao.doctin.model.News;

import android.content.Context;
import android.content.Intent;

import com.example.android.pageindicator.TabPageIndicatorView;

public class Constrant {
	public static String SUBID = "";
	public static int selectedPosition = 0;
	public static MenuAdapter adapter;
	public static ArrayList<News> arrayListNews;
	public static int WIDTH;
	public static int TEXT_SIZE=14;
	public static int showad = 0;
	public static boolean isAppInstalled(Context context,String packageName) {
		Intent mIntent = context.getPackageManager()
				.getLaunchIntentForPackage(packageName);
		if (mIntent != null) {
			return true;
		} else {
			return false;
		}
	}
}
